WeDevs\WeDocs\API\API B

Total Complexity 88
Dependencies 8
Dependents 1
Total lines 939
Lines of code 583
Logical lines of code 233
Comment lines 216
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
get_promotional_notice()
A
46 14 34
register_routes()
A
29
1 195
search_docs()
A
45 7 39
get_parents()
S
48 6 34
update_sortable_status()
S
52 5 23
get_helpful_docs()
S
53 5 23
helpful_update_permissions_check()
S
53 5 21
update_docs_status()
S
57 5 16
get_doc()
S
61 5 11
update_need_sortable_status()
S
60 4 13
create_item_permissions_check()
S
61 4 12
prepare_item_for_response()
S
50 3 27
get_documentation_contributors()
S
52 3 25
handle_feedback()
S
58 2 15
remove_child_docs()
S
65 3 9
update_helpfullness()
S
61 2 12
delete_item()
S
63 2 10
get_promotional_notice_check()
S
66 2 9
handle_hide_promotion_notice()
S
66 2 8
delete_item_permissions_check()
S
66 2 9
sortable_item_permissions_check()
S
66 2 9
prepare_links()
S
62 1 12
get_sortable_status()
S
75 1 4
get_need_sortable_status()
S
75 1 4
__construct()
S
66 1 9